import request from '../utils/request';



export function getExamineList (data) {
    return request({
        url: '/web/config/examineConfig/list',
        method: 'post',
        data
    });
};
export function addExamine (data) {
    return request({
        url: '/web/config/examineConfig/add',
        method: 'post',
        data
    });
};
export function deleteExamine (data) {
    return request({
        url: '/web/config/examineConfig/delete',
        method: 'post',
        data
    });
};
export function updateExamine (data) {
    return request({
        url: '/web/config/examineConfig/update',
        method: 'post',
        data
    });
};



export function getExamineOfficerApi (data) {
    return request({
        url: '/web/examine/examineConfig/byid',
        method: 'post',
        data
    });
};
export function addExamineOfficerApi (data) {
    return request({
        url: '/web/examine/examineUser/add',
        method: 'post',
        data
    });
};
export function deleteExamineOfficerApi (data) {
    return request({
        url: '/web/examine/examineUser/delete',
        method: 'post',
        data
    });
};
export function updateExamineOfficerApi (data) {
    return request({
        url: '/web/examine/examineUser/update',
        method: 'post',
        data
    });
};


export function getNoApprovalAssetsApi (data) {
    return request({
        url: '/web/examine/examine/list',
        method: 'post',
        data
    });
};

//审批接口
export function examineAndApproveApi (data) {
    return request({
        url: '/web/examine/examine/add',
        method: 'post',
        data
    });
};